package com.ef.dao;

import java.util.List;

import com.ef.domain.School;
import com.ef.domain.User;

public interface UserDao extends Dao<User> {

	public User getUser(String loginName);
	
	public User findByCaller(String name);
	
	public List<User> findByRoleName(String name);
	
	public List<User> findByRoleAndSchool(String roleName,School school);
	
	public User findByWorkNo(String workNo);
}
